package com.code.test.dance;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class LinkNode {

    int val;

    LinkNode pre;
    public LinkNode next;

    public LinkNode(int val) {
        this.val = val;
    }

    @Override
    public String toString() {
        return "SNode{" +
                "val=" + val +
                '}';
    }
}
